package com.redwine.app.net.responses;

import com.google.gson.annotations.SerializedName;

/**
 * 修改供应详情
 * 作者：gassion on 17/9/12 00:10
 * 最可怕的敌人，就是没有坚强的信念。
 */
public class WineInfoResponse extends BaseResponse {
    /**
     * data : {"id":"3","category":"洋酒","produce":"埃及","name":"产品名称","city":"北京市","switch":"1","price":"200.00","num":"10","content":"酒品描述","pic":"http://face.com/image/hongjiu/201708/04/192804345358.png,http://face.com/image/hongjiu/201708/04/192804705839.png","date":"2017-08-04 19:28:04.000000","status":"4","uid":"8","category_id":"2","produce_id":"6","city_id":"1","remain":"-32天-3小时-40分","remain_before":"38天2小时40分"}
     */

    private DataEntity data;

    public DataEntity getData() {
        return data;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public static class DataEntity {
        /**
         * id : 3
         * category : 洋酒
         * produce : 埃及
         * name : 产品名称
         * city : 北京市
         * switch : 1
         * price : 200.00
         * num : 10
         * content : 酒品描述
         * pic : http://face.com/image/hongjiu/201708/04/192804345358.png,http://face.com/image/hongjiu/201708/04/192804705839.png
         * date : 2017-08-04 19:28:04.000000
         * status : 4
         * uid : 8
         * category_id : 2
         * produce_id : 6
         * city_id : 1
         * remain : -32天-3小时-40分
         * remain_before : 38天2小时40分
         */

        private String id;
        private String category;
        private String produce;
        private String name;
        private String city;
        @SerializedName("switch")
        private String switchX;
        private String price;
        private String num;
        private String content;
        private String pic;
        private String date;
        @SerializedName("status")
        private String statusX;
        private String uid;
        private String category_id;
        private String produce_id;
        private String city_id;
        private String remain;
        private String remain_before;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCategory() {
            return category;
        }

        public void setCategory(String category) {
            this.category = category;
        }

        public String getProduce() {
            return produce;
        }

        public void setProduce(String produce) {
            this.produce = produce;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getSwitchX() {
            return switchX;
        }

        public void setSwitchX(String switchX) {
            this.switchX = switchX;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getNum() {
            return num;
        }

        public void setNum(String num) {
            this.num = num;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getStatusX() {
            return statusX;
        }

        public void setStatusX(String statusX) {
            this.statusX = statusX;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public String getCategory_id() {
            return category_id;
        }

        public void setCategory_id(String category_id) {
            this.category_id = category_id;
        }

        public String getProduce_id() {
            return produce_id;
        }

        public void setProduce_id(String produce_id) {
            this.produce_id = produce_id;
        }

        public String getCity_id() {
            return city_id;
        }

        public void setCity_id(String city_id) {
            this.city_id = city_id;
        }

        public String getRemain() {
            return remain;
        }

        public void setRemain(String remain) {
            this.remain = remain;
        }

        public String getRemain_before() {
            return remain_before;
        }

        public void setRemain_before(String remain_before) {
            this.remain_before = remain_before;
        }
    }
}

